<div id='pagev'>{ %lang e49 }</div>
<div id='myaccount'><div id='mamenu'>
<ul>
<li { %if { #flag } eq 0}class='selected'{/if}>{ %acl(base-myprofile,flag=0,{ %lang m1 } )}</li>
<li { %if { #flag } eq 1}class='selected'{/if}>{ %acl(myprofile,flag=1,{ %lang m2 })}</li>
<li { %if { #flag } eq 2}class='selected'{/if}>{ %acl(myprofile,flag=2,{ %lang m3 })}</li>
<li { %if { #flag } eq 3}class='selected'{/if}>{ %acl(myprofile,flag=3,{ %lang m4 })}</li>
</ul></div>

<div id='macontent'>

{ %if { #flag } eq 0 }
<table>

<tr>
<td valign='top'><img src='{ #img }' align='center' border='0' /></td>

<td valign='top'>
<div >
{ %lang e23 }: <b>{ #data[0][firstname] }</b><br><br>
{ %lang e24 }: <b>{ #data[0][lastname] }</b><br><br>
{ %lang e25 }<hr>{ #data[0][personal] }
</div>
</td>
</tr>
</table>
{/if}

{ %if { #flag } eq 1 }

<form action="" method="post">
<table>
<tr><td>{ %lang e23 }</td><td><input type='text' size='30' name='fname' value='{ #data[0][firstname] }' ></td></tr>
<tr><td>{ %lang e24 }</td><td><input type='text' size='30' name='lname' value='{ #data[0][lastname] }' ></td></tr>
<tr><td>{ %lang e25 }</td><td><textarea name='personal'>{ #data[0][personal] }</textarea></td></tr>
<tr><td colspan='2'><input type='Submit' name='Submit' value='{ %lang e48 }' style='font-weight:bold;' ></td></tr>
</table>
</form>

{/IF}

{ %if { #flag } = 2 }

<form action="" method="post" enctype="multipart/form-data">
<table>
<tr><td><img src='{ #img }' border='0' ></td><td>
<input type='file' name='picture' >
<hr>
<input type='Submit' name='Submit' value='Load' >
<input type="Submit" name='Submit2' value='Cut all' >

</td></tr>

</table>
</form>


{/IF}
</div>


</div>
